/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Logica.Core.MateriaPrima;

import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

/**
 *
 * @author Luciano
 */
@MappedSuperclass
public abstract class MateriaPrima implements Serializable {
    
    @Id
    private int id;
    @Basic
    private double kilaje;

    public MateriaPrima() {
    }

    public MateriaPrima(int id, double kilaje) {
        this.id = id;
        this.kilaje = kilaje;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public double getKilaje() {
        return kilaje;
    }

    public void setKilaje(double kilaje) {
        this.kilaje = kilaje;
    }

    


}
